<?php


namespace Xiaoguai\DesignPattern\DP001\CacheFactory;


use Xiaoguai\DesignPattern\DP001\CacheFactory;
use Xiaoguai\DesignPattern\Main\Base\CacheDriver\SessionCache;
use Xiaoguai\DesignPattern\Main\Base\CacheInterface;

class SessionCacheFactory implements CacheFactory
{

    public static function createCache(): CacheInterface
    {
        return new SessionCache();
    }
}